<?php
define("SUBSCRIBE_VALIDATE_EXPIRED", 24*3600);
define("SUBSCRIBE_VALIDATE_OK", 0);
define("SUBSCRIBE_VALIDATE_FAILED", 1);
define("SUBSCRIBE_PASS_NOT_MATCH", 2);
define("SUBSCRIBE_EMAIL_NOT_FOUND", 3);
define("SUBSCRIBE_EXPIRED", 4);
define("SUBSCRIBE_ALREADY_VALIDATE", 5);

define("SMTP_HOST", "smtp.qq.com");
define("SMTP_USER", "68225384@qq.com");
define("SMTP_PASS", "helloworld02");
define("FROM", "68225384@qq.com");
define("WELCOME_SUBJECT", "[".FIRST_TITLE."]Email地址验证");
define("WELCOME_CONTENT", "
<html>
<head>
<meta charset='utf-8'>
<head>
<body>
尊敬的用户，<br/><br/>
感谢您订阅".FIRST_TITLE."，您只需点击下面的链接即可激活您的帐号，请在24小时内点击完成验证：<br/><br/>
----------------------------------------------------------------------<br/>
<a href='http://".DOMAIN."/index/subscribes_validate?email=#email#&pass=#pass#'>http://".DOMAIN."/index/subscribes_validate?email=#email#&pass=#pass#</a><br/>
----------------------------------------------------------------------<br/><br/>
(如果上面不是链接形式，请将地址手工粘贴到浏览器地址栏再访问)<br/><br/>
再次感谢您的访问，祝您使用愉快！<br/><br/><br/>
家谱百科管理团队<br/>
<a href='http://www.ijiapu.org'>http://www.ijiapu.org</a><br/>
".date('Y-m-d H:i:s')."
<body>
");
